﻿<%@ Page Language="C#" MasterPageFile="~/TestSystem/TestSystemMain.master" AutoEventWireup="true" Inherits="Subjects" Title="Untitled Page" Codebehind="Subjects.aspx.cs" %>
<%@ Register Src="~/TestSystem/Controls/QuizList.ascx" TagName="QuizList" TagPrefix="TS" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="SubjectsContent" ContentPlaceHolderID="TsContent" Runat="Server">
   <h1 id="page-title">Доступні тести</h1>
   <div class="test-catalog">
       <div class="column">
            <asp:DataList runat="server" ID="dlSubjects1" RepeatColumns="1" RepeatLayout="Flow" RepeatDirection="Horizontal">
                <ItemTemplate>
                    <TS:QuizList ID="QuizList1" runat="server" SubjectID='<%# Eval("SubjectID") %>' />
                </ItemTemplate>
            </asp:DataList>
        </div>
        <div class="column">
            <asp:DataList runat="server" ID="dlSubjects2" RepeatColumns="1" RepeatLayout="Flow" RepeatDirection="Horizontal">
                <ItemTemplate>
                    <TS:QuizList ID="QuizList1" runat="server" SubjectID='<%# Eval("SubjectID") %>' />
                </ItemTemplate>
            </asp:DataList>
        </div>
    </div>
</asp:Content>

